<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>Class: Spec::Mocks::MessageExpectation</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Spec::Mocks::MessageExpectation</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../../files/vendor\plugins\rspec/lib/spec/mocks/message_expectation_rb.html">
                vendor\plugins\rspec/lib/spec/mocks/message_expectation.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                <a href="BaseExpectation.html">
                BaseExpectation
               </a>
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000148">any_number_of_times</a>&nbsp;&nbsp;
      <a href="#M000145">at_least</a>&nbsp;&nbsp;
      <a href="#M000146">at_most</a>&nbsp;&nbsp;
      <a href="#M000144">exactly</a>&nbsp;&nbsp;
      <a href="#M000141">matches_name_but_not_args</a>&nbsp;&nbsp;
      <a href="#M000153">negative_expectation_for?</a>&nbsp;&nbsp;
      <a href="#M000149">never</a>&nbsp;&nbsp;
      <a href="#M000150">once</a>&nbsp;&nbsp;
      <a href="#M000152">ordered</a>&nbsp;&nbsp;
      <a href="#M000154">set_expected_received_count</a>&nbsp;&nbsp;
      <a href="#M000147">times</a>&nbsp;&nbsp;
      <a href="#M000151">twice</a>&nbsp;&nbsp;
      <a href="#M000142">verify_messages_received</a>&nbsp;&nbsp;
      <a href="#M000143">with</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">





      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000148" class="method-detail">
        <a name="M000148"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000148.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000148.html');return false;">
          <span class="method-name">any_number_of_times</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000145" class="method-detail">
        <a name="M000145"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000145.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000145.html');return false;">
          <span class="method-name">at_least</span><span class="method-args">(n)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000146" class="method-detail">
        <a name="M000146"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000146.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000146.html');return false;">
          <span class="method-name">at_most</span><span class="method-args">(n)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000144" class="method-detail">
        <a name="M000144"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000144.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000144.html');return false;">
          <span class="method-name">exactly</span><span class="method-args">(n)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000141" class="method-detail">
        <a name="M000141"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000141.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000141.html');return false;">
          <span class="method-name">matches_name_but_not_args</span><span class="method-args">(sym, args)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000153" class="method-detail">
        <a name="M000153"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000153.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000153.html');return false;">
          <span class="method-name">negative_expectation_for?</span><span class="method-args">(sym)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000149" class="method-detail">
        <a name="M000149"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000149.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000149.html');return false;">
          <span class="method-name">never</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000150" class="method-detail">
        <a name="M000150"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000150.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000150.html');return false;">
          <span class="method-name">once</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000152" class="method-detail">
        <a name="M000152"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000152.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000152.html');return false;">
          <span class="method-name">ordered</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000147" class="method-detail">
        <a name="M000147"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000147.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000147.html');return false;">
          <span class="method-name">times</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000151" class="method-detail">
        <a name="M000151"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000151.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000151.html');return false;">
          <span class="method-name">twice</span><span class="method-args">(&amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000142" class="method-detail">
        <a name="M000142"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000142.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000142.html');return false;">
          <span class="method-name">verify_messages_received</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000143" class="method-detail">
        <a name="M000143"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000143.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000143.html');return false;">
          <span class="method-name">with</span><span class="method-args">(*args, &amp;block)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Protected Instance methods</h3>

      <div id="method-M000154" class="method-detail">
        <a name="M000154"></a>

        <div class="method-heading">
          <a href="MessageExpectation.src/M000154.html" target="Code" class="method-signature"
            onclick="popupCode('MessageExpectation.src/M000154.html');return false;">
          <span class="method-name">set_expected_received_count</span><span class="method-args">(relativity, n)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>